/*eslint no-use-before-define: ["error", { "allowNamedExports": true }]*/

export function foo() {
  return d;
}
const d = 1;

export class C {
  foo() {
    return a;
  }
}
const a = 1;